package com.lwh.springboot.mapper;

import com.lwh.springboot.pojo.entity.CarType;
import com.lwh.springboot.pojo.vo.CarTypeCountVO;

import java.util.List;

public interface CarTypeMapper {

    void deleteById(Integer id);

    void add(CarType carType);

    CarType selectById(Integer id);

    void update(CarType carType);
    void deleteAll(Integer[] ids);

    List<CarType> selectByPage(int offset, Integer pageSize);

    int selectTotalCount();
    List<CarTypeCountVO> selectCarTypeCount();

    List<CarType> selectAll();
}
